package com.ww.disruptor.event;

import lombok.Data;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * TODO
 *
 * @author wanggw
 * @date 2024-09-14 23:31:25
 */
@Data
public class Trade {

    private String id;

    private String name;

    private double price;

    private AtomicInteger count = new AtomicInteger(0);

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public AtomicInteger getCount() {
		return count;
	}

	public void setCount(AtomicInteger count) {
		this.count = count;
	}
}
